<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
<a href="{{'/index'}}" style="margin:20px 40px">首页</a>
   <style>
       .img{
           width:1000px;
           height: auto;
           display: block;
           margin: auto;
       }
   </style>

<div class="mazmun" >
    <img class="img" src="createImg?name={{$_POST['name']}}" alt="no_img"/>
    <a download style="width: 100px;display: block;margin: 10px auto;text-align: center" href="createImg?name={{$_POST['name']}}">
        <button> 下载 </button>
    </a>

</div>
</body>
</html>
